package subcribe;

import redis.clients.jedis.JedisPubSub;

/**
 * @author Veng Su 1344114844@qq.com
 * @date 2018/4/22 11:21
 */
public class RedisSuncribe extends JedisPubSub {
    public void onMessage(String channal, String message) {
        System.out.println(channal+"--------------"+message);
    }

    public void onPMessage(String s, String s1, String s2) {

    }

    public void onSubscribe(String s, int i) {

    }

    public void onUnsubscribe(String s, int i) {

    }

    public void onPUnsubscribe(String s, int i) {

    }

    public void onPSubscribe(String s, int i) {

    }
}
